home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DemonicDefence3.swf / scripts / DefineButton2_1189 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2005-09-27  |  201 b   |  13 lines

  1. on(release){
  2.    if(_root.money >= 100)
  3.    {
  4.       _root.money -= 100;
  5.       _root.windRune += 1;
  6.       messo = "Got Wind Rune!";
  7.    }
  8.    else
  9.    {
  10.       messo = "Not Enough Money!";
  11.    }
  12. }
  13.